<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0">
		<title></title>
	</head>

	<body>
		<p>
			<span style="color: rgb(17, 17, 17); font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 21.0599994659424px; white-space: pre-wrap; background-color: rgb(255, 255, 255);"><br/></span>
		</p>
		<p>
			<span style="color: rgb(17, 17, 17); font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 21.0599994659424px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">&lt;div id=&quot;canvas&quot;&gt;&lt;/div&gt;</span>
			<br
			style="color: rgb(17, 17, 17); font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 21.0599994659424px; white-space: pre-wrap; background-color: rgb(255, 255, 255);" /><span style="color: rgb(17, 17, 17); font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 21.0599994659424px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">定义touchstart的事件处理函数，并绑定事件：</span>
			<br style="color: rgb(17, 17, 17); font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 21.0599994659424px; white-space: pre-wrap; background-color: rgb(255, 255, 255);"
			/><span style="color: rgb(17, 17, 17); font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 21.0599994659424px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">var canvas = document.getElementById(&quot;canvas&quot;), spirit, startX, startY;</span>
			<br
			style="color: rgb(17, 17, 17); font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 21.0599994659424px; white-space: pre-wrap; background-color: rgb(255, 255, 255);" /><span style="color: rgb(17, 17, 17); font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 21.0599994659424px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">function touchStart(event) { //阻止网页默认动作（即网页滚动） event.preventDefault();</span>
			<br
			style="color: rgb(17, 17, 17); font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 21.0599994659424px; white-space: pre-wrap; background-color: rgb(255, 255, 255);" />
			<br/>
		</p>
		<p>
			<span style="margin:0;padding:0"><img style="max-width:100%;" src="http://121.52.220.138:81/File/ShowImage/72015044B7L5VWDWTR0_1"/></span>
		</p>
	</body>

</html>